package com.guojiaming.shop.bean;

import com.google.gson.annotations.Expose;
import org.springframework.validation.annotation.Validated;

import java.util.Date;

/**
 * @author vivo
 */
@Validated
public class ImageFile {
    private Integer id;
    @Expose
    private String path;
    @Expose
    private String url;
    private Date saveDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Date getSaveDate() {
        return saveDate;
    }

    public void setSaveDate(Date saveDate) {
        this.saveDate = saveDate;
    }
}